home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
prog
/
re11.arj
/
RE.DOC
< prev
next >
Wrap
Text File
|
1994-02-10
|
5KB
|
171 lines
////////// //////// ///////// //////// //////
/// // // // // // //
////////// ///// ///////// // ///// // //
/// // // // // // //
/// /// //////// //////// ///////// ///////
Version 1.1
(c) Copyright 1994, Blueview Software.
ALL RIGHTS RESERVED
INTRODUCTION
RES-ED is a programmers utility that allows the creation of resource
files. Resource files are commonly used for storing information that would
normally be in various files or coded into the actual program. When programs
reach a certain size this information becomes difficult to handle. RES-ED
allows you to keep all this information in an easy accessible format.
Resource files can be used for storing video drivers, help information,
map files (for game programmers), and various other types of information.
RES-ED can also be used to create installation files, a general purpose
loader can be written to access the contents of a resource file and extract
the information to appropriate drive/directory. A simple (documented) format
is used to build resource files that can be accessed from any programming
language.
SYSTEM REQUIREMENTS:
- DOS 3.0 or higher
CUSTOMER SERVICE
If you have any questions, comments, or suggestions,
Blueview Software can be contacted by:
Voice - (416) 757-7944
BAUDEVILLE BBS (416) 283-0114 (Blueview Conference)
CAP/CANADA BBS (416) 287-0935 (Blueview Conference)
CAP/USA BBS (708) 854-0255 (Blueview Conference)
Shareware Conferences - RIME, INTELEC, NANET, CITY2CITY, FIDONET,
and ILINK. Leave message to NICK ONOUFRIOU.
CompuServe: >INTERNET:nick.onoufriou@rose.com
Internet: nick.onoufriou@rose.com
nick.onoufriou@bville.gts.org
Fido net-mail: 1:250/304
Surface Mail - Blueview Software
2300 Lawrence Ave. East BOX 80551
Scarborough, Ontario
CANADA M1P 2R0
NOTE: All mail _will_ be answered. If you do not receive a reply
within a few days please try again, mail does get lost.
USING THE EDITOR
RES-ED main menu consists of three options:
1) Edit Resource file - used to edit an existing resource file
2) Create Resource file - used to create resource files from scratch
3) Exit
If a resource file is selected a new menu will appear listing the contents.
No contents will be displayed if your are creating a new resource file. From
this menu you can:
[A] - Add a file
[I] - Insert a file
[D] - Delete an item
[R] - Replace an item
[X] - Extract the item to disk. ie. Convert item to a file.
[ESC] - Quit
[S] - Save the contents of the resource file to disk
[F2] - Edit the "type" field of the resource item
[F3] - Edit the "id" field of the resource item
Once a file is imported into the editor it referred as an item. Each item has
the following fields:
TYPE - A value ranging from 0 to 65000 indicating what the contents of
this item may include. Default value is 0.
ID - 12 character field used for to describe the item. The items
original filename is the default value.
OFFSET - The absolute file position where the contents of the items are
located.
LENGTH - The size (in bytes) of the items contents
MODIFIED - Used to indicated if that Item has been replaced, or if the
contents of the TYPE or ID fields have been changed.
ADDING RESOURCE FILES TO YOUR PROGRAMS
Once a resource file is created you can use it in your own programs. Each
resource file created with RES-ED contains a simple header. The first three
bytes contain the characters "RES" followed by an unsigned integer (two
bytes) indicating the number of items. Each item consists of 22 bytes
indicating ITEM TYPE (2 bytes), ID (12 bytes), OFFSET (4 bytes), and LENGTH
(4 bytes). Although not required, the demo programs can be used to better
understand the resource file format.
REGISTERING RES-ED
RES-ED is part of series of programmers utilities, registration entitles
you to a fully functional RES-ED (no 10 item limitation) as well full
registered versions of Raster Master and Raster Utilities. See ORDER.TXT
and CATALOG.TXT for additional information.